From: Gerd Moellmann Date: Mon, 23 Apr 2001 14:58:12 +0000 (+0000) Subject: (compute_char_face): If buffer is unibyte, set CH to X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~40605 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=9ce0d9b8e1c05844372c841cfc9e330e15a5f769;p=emacs.git (compute_char_face): If buffer is unibyte, set CH to zero instead of -1. --- diff --git a/src/xfaces.c b/src/xfaces.c index 24f4c8406e3..8433460b47f 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -6569,7 +6569,7 @@ compute_char_face (f, ch, prop) int face_id; if (NILP (current_buffer->enable_multibyte_characters)) - ch = -1; + ch = 0; if (NILP (prop)) {